package com.qumitech.visualnovel.service.account;

import java.util.List;
import com.qumitech.visualnovel.model.dao.console.UserInfo;

public interface UserInfoService {
    UserInfo getCurUserInfo();
    UserInfo getUserByUid(Integer uid);
    UserInfo getUserByName(String username);
    int addNewUser(String password, String username);
    void delUserByUid(int uid);
    int resetPassword(UserInfo userInfo, String password);
    Boolean UpdatePassword(UserInfo userInfo, String oldPassword, String newPassword);
    int getUserInfoCount(String username, String startTime, String endTime);
    List<UserInfo> getUserInfoList(int offset, int pageSize, String username,
        String startTime, String endTime, String orderBy, String orderType);
}
